<%@ include file="../../res/inc/init.jsp" %>

<tiles:insert page="/general/templateLoggedIn.jsp">
	<tiles:put name="title" value="GRE"/>
	<tiles:put name="nav"/>
	<tiles:put name="content" type="string">
		<h2>GRE</h2>
		
		<logic:present name="greBean">
		
			<table>
				<tr>
					<td>Analytical Writing:</td>
					<td><bean:write name="greBean" property="analytical"/> Score</td>
					<td><bean:write name="greBean" property="analyticalPercent"/> %</td>
				</tr>
				<tr>
					<td>Verbal Reasoning:</td>
					<td><bean:write name="greBean" property="verbal"/> Score</td>
					<td><bean:write name="greBean" property="verbalPercent"/> %</td>
				</tr>
				<tr>
					<td>Quantitative Reasoning:</td>
					<td><bean:write name="greBean" property="quantitative"/> Score</td>
					<td><bean:write name="greBean" property="quantitativePercent"/> %</td>
				</tr>
				<tr>
					<td>Total:</td>
					<td><bean:write name="greBean" property="total"/> Score</td>
					<td><bean:write name="greBean" property="totalPercent"/> %</td>
				</tr>
				<tr>
					<td>Type:</td>
					<td colspan="2">
						<bean:write name="greBean" property="type"/>
					</td>
				</tr>
				<tr>
					<td>Month/Year:</td>
					<td colspan="2">
						<bean:write name="greBean" property="month"/> / 
						<bean:write name="greBean" property="year"/>
					</td>
				</tr>
				<tr>
					<td>Registration No.:</td>
					<td colspan="2"><bean:write name="greBean" property="regNo"/></td>
				</tr>
			</table>
		</logic:present>
		<logic:notPresent name="greBean">
			There are no results yet.
		</logic:notPresent>
	</tiles:put>
</tiles:insert>